#!/bin/bash

check_directories="/home/*"

Date=$(date '+%m%d%y')
exec >disk_space_$Date.rpt

echo "Top Ten Disk Space Usage"
echo "for $check_directories directories"

for dir_check in $check_directories
do
	echo "" 
	echo "the $dir_check directory:"
	du -s /home/$dir_check/ 2>/dev/null|sort -rn
done
